/** 获取对象中的keys 和 values */ 
const getBody = str => {
    let keys = Object.keys(req.body);
    let values = keys.map(item => {
        if (typeof req.body[item] == 'string') {
            return JSON.stringify(req.body[item]);
        }
        return req.body[item];
    }).toString();

    return {
        keys,
        values
    }
}
module.exports = {
    getBody
}